package com.whh.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class UserDemandEntity extends BaseEntity {
	private int creator;//创建者
	private int approver;//审批人
	private int pointer;//指派人
	private int closer;//关闭者
	private String desicription;//需求描述
	private int spendTime;//消耗时间
	private int priority;//优先级（1-紧急，2-严重，3-重视，4-常规，0-未定义）
	private String note;//备注
	private String approverResult;//审批结果
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	protected Date approverTime;//结束时间
	private int type;//需求来源
	//以下字段不放入数据库
	private String belongProjectName;
	private String belongProductName;
	
	private String creatorName;
	private String approverName;
	private String pointerName;//指派人
	private String closerName;//关闭者
	private String typeName;
	
	
	
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getApproverResult() {
		return approverResult;
	}
	public void setApproverResult(String approverResult) {
		this.approverResult = approverResult;
	}
	public Date getApproverTime() {
		return approverTime;
	}
	public void setApproverTime(Date approverTime) {
		this.approverTime = approverTime;
	}
	public int getPointer() {
		return pointer;
	}
	public void setPointer(int pointer) {
		this.pointer = pointer;
	}
	public int getCloser() {
		return closer;
	}
	public void setCloser(int closer) {
		this.closer = closer;
	}
	public String getPointerName() {
		return pointerName;
	}
	public void setPointerName(String pointerName) {
		this.pointerName = pointerName;
	}
	public String getCloserName() {
		return closerName;
	}
	public void setCloserName(String closerName) {
		this.closerName = closerName;
	}
	public String getCreatorName() {
		return creatorName;
	}
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	public String getApproverName() {
		return approverName;
	}
	public void setApproverName(String approverName) {
		this.approverName = approverName;
	}
	public String getBelongProjectName() {
		return belongProjectName;
	}
	public void setBelongProjectName(String belongProjectName) {
		this.belongProjectName = belongProjectName;
	}
	public String getBelongProductName() {
		return belongProductName;
	}
	public void setBelongProductName(String belongProductName) {
		this.belongProductName = belongProductName;
	}
	public int getCreator() {
		return creator;
	}
	public void setCreator(int creator) {
		this.creator = creator;
	}
	public int getApprover() {
		return approver;
	}
	public void setApprover(int approver) {
		this.approver = approver;
	}
	public String getDesicription() {
		return desicription;
	}
	public void setDesicription(String desicription) {
		this.desicription = desicription;
	}
	public int getSpendTime() {
		return spendTime;
	}
	public void setSpendTime(int spendTime) {
		this.spendTime = spendTime;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
}
